<template>
  <div id="app">
    <img alt="Vue logo" src="./assets/logo.png" />
    <div class="page">
      <div class="body">
        <div>
          <input type="text" v-model="inputV" />
          {{ $getDictLabel("zdfytbqy_yyzt", "2") }}
        </div>
        {{ $cache.get("999") }}
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {
      inputV: "",
    };
  },

  mounted() {
    sessionStorage.setItem("ip", "http://183.162.219.15:8009");
    this.$cache.set("999", "999");
  },

  methods: {
    getData() {
      this.$get("/qhxt/qhxt/zbstat/getTotal").then((res) => {
        console.log(res);
      });
    },
  },
};
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.body {
  display: flex;
  justify-content: space-around;
  border: 1px solid #ccc;
  padding: 12px;
  width: 600px;
}
</style>
